package com.fbt.andon.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产线表
 * </p>
 *
 * @author 冯涛
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Line对象", description="产线表")
public class Line implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id(产线号)")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "产线编号")
    private Integer plantNumber;

    @ApiModelProperty(value = "产线编号")
    @Excel(name = "产线编号", cellType = Excel.ColumnType.NUMERIC)
    private String lineNumber;

    @ApiModelProperty(value = "产线名")
    @Excel(name = "产线名", cellType = Excel.ColumnType.NUMERIC)
    private String lineName;

    @ApiModelProperty(value = "状态")
    @Excel(name = "是否运行", cellType = Excel.ColumnType.NUMERIC)
    private String isStatus;

    @ApiModelProperty(value = "该产线所拥有的小组数量")
    @Excel(name = "该产线所拥有的小组数量", cellType = Excel.ColumnType.NUMERIC)
    private Integer ownLine;

    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话", cellType = Excel.ColumnType.NUMERIC)
    private String phone;

    @ApiModelProperty(value = "产线负责人")
    @Excel(name = "产线负责人", cellType = Excel.ColumnType.NUMERIC)
    private String principal;

    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", cellType = Excel.ColumnType.NUMERIC)
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建时间", cellType = Excel.ColumnType.NUMERIC)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String updateUser;


}
